package xyz.fping.service;

import org.apache.ibatis.annotations.Param;
import xyz.fping.entities.Payment;

/**
 * PaymentService
 *
 * @author fping
 * @date 2020/10/8 17:51
 */
public interface PaymentService {
    /**
     * 新增
     *
     * @param payment payment
     * @return int
     */
    public int create(Payment payment);

    /**
     * 查询
     *
     * @param id id
     * @return Payment
     */
    public Payment getPaymentById(@Param("id") Long id);
}
